import java.math.BigDecimal;

/**
 * 利率
 * <p>Filename: PACKAGE_NAME.Rate.java</p>
 * <p>Date: 2020-09-24 15:30.</p>
 *
 * @author <a href="mailto:liufuguo@qianmi.com">OF3581-刘富国</a>
 * @version 0.1.0
 */
public class Rate {

    private static final BigDecimal FUND = BigDecimal.valueOf(3.25);
    private static final BigDecimal BUSINESS = BigDecimal.valueOf(4.9);


    public BigDecimal rate;

    /**
     * 获取公积金利率
     *
     * @return 公积金利率
     */
    public BigDecimal getFundRate() {
        return Rate.FUND;
    }

    /**
     * 获取商业贷款利率
     *
     * @return 商业贷款利率
     */
    public BigDecimal getBusinessRate() {
        return Rate.BUSINESS;
    }
}
